<template>
  <el-main id="et" :style="{height:wheight+'px','background-color':'#ffebcd'}">

      <router-view ref="tttt" style="padding: 0px"></router-view>

  </el-main>

</template>

<script>
    export default {
        name: "datamain",
      data(){
          return{
            wheight:window.innerHeight-60
          }

      },
      created(){
          this.$router.push({path:"/system"})
      }
      ,watch:{
        $route() {//可以监听路由的变化

        }
      },

    }
</script>

<style scoped>

</style>
